import Mock from 'mockjs'
import loginAPI from './loginAPI'
import articleAPI from './articleAPI'
import introAPI from './introAPI'
import detailsFilmAPI from './detailsFilmAPI'
Mock.mock(/\/account\/login/, 'post', loginAPI.loginByUsername)
Mock.mock(/\/account\/getuserinfo/, 'post', loginAPI.getUserInfo)

Mock.mock(/\/articles\/getArticle/, 'post', articleAPI.getList)

Mock.mock(/\/intro\/getIntroList/, 'post', introAPI.getIntroList)

Mock.mock(/\/film\/getFilmEvaluate/, 'post', detailsFilmAPI.getFilmEvaluate)
Mock.mock(/\/film\/getFilmDetail/, 'post', detailsFilmAPI.getFilmDetail)
export default Mock
